<?php

namespace app\controller;

use think\Controller;
use think\facade\Session;

class Guest extends Controller
{

    protected function initialize()
    {
        if (is_login()) {
            return $this->redirect('/');
        }
    }

    public function index()
    {
        return 'home';
    }

}
